﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ThaoTac;
using DuLieu;
using ThongTin;

namespace GiaoDien
{
    public partial class frmQuanLyKhoaHoc : Form
    {
        public frmQuanLyKhoaHoc()
        {
            InitializeComponent();
        }
        public String MaKhoaHoc
        {
            get { return txtMaKhoaHoc.Text; }
        }
        public DateTime NgayBatDau
        {
            get { return dtNgayBatDat.Value; }
        }
        public DateTime NgayKetThuc
        {
            get { return dtNgayKetThuc.Value; }       
        }
        public event EventHandler addNew;
        private void frmQuanLyKhoaHoc_Load(object sender, EventArgs e)
        {
        }

        private void btnThoat_KH_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnXacNhan_KH_Click(object sender, EventArgs e)
        {

            EventHandler eh = addNew;
            if (eh != null)
                eh(this, e);
        }

    }
}
